package com.ntschy.bt.service.impl;

import com.ntschy.bt.entity.dataobject.BtPolicy;
import com.ntschy.bt.mapper.BtPolicyOverviewMapper;
import com.ntschy.bt.service.IBtPolicyOverviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BtPolicyOverviewImpl implements IBtPolicyOverviewService {
    @Autowired
    private BtPolicyOverviewMapper overviewMapper;

    @Override
    public List<BtPolicy> selectByExamineResult(BtPolicy btPolicy) {
        return overviewMapper.selectByExamineResult(btPolicy);
    }

    @Override
    public BtPolicy selectOverviewPolicyById(String id) {
        return overviewMapper.selectOverviewById(id);
    }
}
